<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" />
    <title>xiaomi</title>
    <link rel="stylesheet" type="text/css" href="static/common/reset.css"/>

    <link rel="stylesheet" type="text/css" href="static/common/swiper.css"/>

    <link rel="stylesheet" type="text/css" href="static/font/iconfont.css">

   
  </head>
  <body>
    <div id="app"></div>

  </body>
  <script type="text/javascript">
  (function (doc, win) {
        var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
                var clientWidth = docEl.clientWidth;
                if (!clientWidth) return;
                
                    docEl.style.fontSize = 100* (clientWidth / 414) + 'px';
               
            };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);

  </script>

</html>
